#pragma once 
#include <memory>

namespace mms {
class RtmpMessage;

class RtmpWindowAcknwledgeSizeMessage{
public:
    RtmpWindowAcknwledgeSizeMessage(size_t s);
    RtmpWindowAcknwledgeSizeMessage() = default;

    int32_t decode(std::shared_ptr<RtmpMessage> rtmp_msg);
    std::shared_ptr<RtmpMessage> encode() const;

public:
    size_t acknowledge_windows_size_ = 5 * 1024 * 1024;

};

}